package com.web.entity;

/**
 *存放Teacher的信息
 * @author 12270
 */
public class Teacher {
    private String Tid;
    private String Tname;
    private String Tpwd;
    private String Tstatus;
    private String CourseID;
    private String ClassID;
    
    public Teacher(String Tid, String Tname, String Tpwd, String Tstatus, String CourseID, String ClassID){
        this.Tid = Tid;
        this.Tname = Tname;
        this.Tpwd = Tpwd;
        this.Tstatus = Tstatus;
        this.CourseID = CourseID;
        this.ClassID = ClassID;
    }
   
    public Teacher(String Tid, String Tname,String Tstatus, String CourseID, String ClassID){
        this.Tid = Tid;
        this.Tname = Tname;
        this.Tstatus = Tstatus;
        this.CourseID = CourseID;
        this.ClassID = ClassID;
    }
    
    public Teacher(String Tid,String Tpwd){
        this.Tid = Tid;
        this.Tpwd = Tpwd;
    }
    
    public Teacher(String Tpwd){
        this.Tpwd = Tpwd;
    }
    
    public Teacher(){
    }

    
    public String getTid() {
        return Tid;
    }

    public void setTid(String Tid) {
        this.Tid = Tid;
    }

    public String getTname() {
        return Tname;
    }

    public void setTname(String Tname) {
        this.Tname = Tname;
    }

    public String getTpwd() {
        return Tpwd;
    }

    public void setTpwd(String Tpwd) {
        this.Tpwd = Tpwd;
    }

    public String getTstatus() {
        return Tstatus;
    }

    public void setTstatus(String Tstatus) {
        this.Tstatus = Tstatus;
    }

    public String getCourseID() {
        return CourseID;
    }

    public void setCourseID(String CourseID) {
        this.CourseID = CourseID;
    }
    
    public String getClassID(){
        return ClassID;
    }
    
    public void setClassID(String ClassID){
        this.ClassID = ClassID;
    }

    @Override
    public String toString() {
        return "Teacher{" + "Tid=" + Tid + ", Tname=" + Tname + ", Tpwd=" + Tpwd + ", Tstatus=" + Tstatus + ", CourseID=" + CourseID + ", ClassID=" + ClassID + '}';
    }
}
